package com.csair.seam.infrastructure.exception;

import java.io.PrintWriter;
import java.io.StringWriter;

public class ExceptionUtil {
	
	public static String getStackTrace(Exception e) {
		StringWriter stringWriter = new StringWriter();
    	e.printStackTrace(new PrintWriter(stringWriter, true));
    	return stringWriter.toString();
	}
}
